<form action="{{ url('/table/indexes/rename') }}" method="post" name="index_frm" id="index_frm" class="card ajax">

  {{ get_hidden_inputs(form_params) }}

  <div class="card-body">
    <div class="index_info">
      <div>
          <div class="label">
              <strong>
                  <label for="input_index_name">
                      {{ t('Index name:') }}
                      {{ show_hint(t('"PRIMARY" <b>must</b> be the name of and <b>only of</b> a primary key!')) }}
                  </label>
              </strong>
          </div>

          <input type="text"
              name="index"
              id="input_index_name"
              size="25"
              maxlength="64"
              value="{{ index.getName() }}"
              onfocus="this.select()">
      </div>
    </div>
  </div>
  <div class="card-footer">
    <button class="btn btn-secondary" type="submit" id="preview_index_frm">{{ t('Preview SQL') }}</button>
  </div>
</form>
